package com.base.engine.error;

public class ColorException extends MADException {

	private static final long serialVersionUID = 1786642746343797243L;

	public ColorException(String errorMessage) {
		super(errorMessage);
	}

	public static void InvalidColorValue(String colorChannel){
		throw new ColorException("Invalid color value ( channel: "+colorChannel+") - Value must be a float value between 0.0 and 1.0"); 
	}
	public static void NullPointerException(){
		MADException.NullPointerException("color");
	}
	
}
